﻿<UserControl x:Class="Oxage.CNC.Views.SimulatorView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:m="clr-namespace:Oxage.CNC.Models"
  xmlns:avalon="http://icsharpcode.net/sharpdevelop/avalonedit">
  <UserControl.DataContext>
    <m:SimulatorViewModel />
  </UserControl.DataContext>
  <Grid x:Name="LayoutRoot">
    <Border Background="#595959" CornerRadius="3">
      <Grid Margin="4">
        <Grid.RowDefinitions>
          <RowDefinition Height="Auto" />
          <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Text="Simulator" Style="{DynamicResource HeaderTextStyle}" />
        <Border Grid.Row="1" ClipToBounds="True" Margin="0,2,0,0" CornerRadius="3">
          <Border Background="#444444" CornerRadius="3">
            <ContentPresenter Content="{Binding Preview}" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />
          </Border>
        </Border>
      </Grid>
    </Border>
	</Grid>
</UserControl>
